# -*- coding = utf-8 -*-
# @TIME:2024/10/18 11:08
# @Author:月的第一话
# @File:demo2.py
# @Software:PyCharm
import os
print(os.getcwd())
os.chdir("D:\code")
print(os.getcwd())
print(os.listdir())
os.chdir('..')
print(os.listdir())